<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>产品月销量</title>
    <style>
        table {
            width: 45%;
            border-collapse: collapse;
            margin: 20px auto;
            text-align: center;
            font-family: "微软雅黑", sans-serif;
        }
        
        th, td {
            border: 2px solid #ff69b4;
            padding: 12px;
        }
        
        caption {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .total {
            background-color: #cce0ff;
            font-weight: bold;
            color: #003366;
        }
    </style>
</head>
<body>
    <table>
        <caption>产品月销量</caption>
        <thead>
            <tr>
                <th>ID</th>
                <th>产品名称</th>
                <th>销量</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>2021090901</td>
                <td>马克杯</td>
                <td>5000</td>
            </tr>
            <tr>
                <td>2021090902</td>
                <td>啤酒杯</td>
                <td>5200</td>
            </tr>
            <tr>
                <td>2021090903</td>
                <td>搪瓷杯</td>
                <td>3500</td>
            </tr>
        </tbody>
        <tfoot>
            <tr class="total">
                <th colspan="2">合计</th>
                <th>13700</th>
            </tr>
        </tfoot>
    </table>
</body>
</html>